package com.bjsxt.userscenter.users.test;

import java.io.IOException;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.bjsxt.shop.common.util.ConstatFinalUtil;

/**
 * 用户Service的测试类
 * @author WangshSxt
 *
 */
public class DubboMain
{
	public static void main(String args[])
	{
		/* 初始化Spring */
		ApplicationContext ac = new ClassPathXmlApplicationContext("classpath*:META-INF/spring/*.xml");
		ConstatFinalUtil.SYS_LOGGER.info("--init--ac:{}", ac);
		
		try
		{
			ConstatFinalUtil.SYS_LOGGER.info("--开始初始化--");
			System.in.read();
			ConstatFinalUtil.SYS_LOGGER.info("--停止--");
		} catch (IOException e)
		{
			e.printStackTrace();
		}
	}
}
